import {post} from "@/server/request";

export function excelImport (data) {
  return post({
      url: '/budget/import',
      data
  })
}

export function downLoadTemplate (data) {
  return post({
      url: '/budget/export',
      responseType: 'blob',
      data
  })
}

export function downLoadRecord (data) {
  return post({
      url: '/formTask/export/process',
      responseType: 'blob',
      data
  })
}

export function uploadProcess (data) {
  return post({
      url: '/formTask/export/process',
      responseType: 'blob',
      data
  })
}
export function getHeadImgByAuth (data) {
  return post({
    url: '/dingTalk/showAvatar',
    data
  })
}

export function updatePassword (data) {
  return post({
    url: '/user/updatePassword',
    data
  })
}
